#!/usr/bin/env node

//13. 进程间通信之父进程

const cp = require('child_process');

console.log('father PID:',process.pid);

process.on('message',(msg)=>{
  console.log('Message for child',msg)
});

process.send('study');
